package com.itheima.tliassystem.uile;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliOSSProperties {
    //    @Value("${aliyun.oss.endpoint}")
    private String endpoint;/* = "https://oss-cn-nanjing.aliyuncs.com"*/;
    //    @Value("${aliyun.oss.accessKeyId}")
    private String accessKeyId; /*= "LTAI5tNqS9KjQoMYkBb5TzxV"*/;
    //    @Value("${aliyun.oss.accessKeySecret}")
    private String accessKeySecret; /*= "12SCkNFPLICgP1qgFoMsepMOIyrdnI"*/;
    //    @Value("${aliyun.oss.bucketName}")
    private String bucketName; /*= "tlias-system-bucket-wangle"*/;

}
